package com.aspose.cells;

class zbip extends zck {
   zbip(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      com.aspose.cells.b.a.b.a.ze var2 = new com.aspose.cells.b.a.b.a.ze();
      float var3;
      if (this.e.m != null) {
         if (this.e.m.a.size() > 0) {
            var3 = Math.min(var1.h(), var1.i()) * (com.aspose.cells.b.a.ze.a(this.e.m.a.get(0)) / 100000.0F);
         } else {
            var3 = Math.min(var1.h(), var1.i()) * 0.3F;
         }
      } else {
         var3 = Math.min(var1.h(), var1.i()) * 0.3F;
      }

      if (var3 <= 0.0F) {
         var2.b(var1);
         var2.i();
         return var2;
      } else {
         com.aspose.cells.b.a.b.zo[] var4 = new com.aspose.cells.b.a.b.zo[]{new com.aspose.cells.b.a.b.zo(var3 + this.g, this.h), new com.aspose.cells.b.a.b.zo(var1.h() - var3 + this.g, this.h), new com.aspose.cells.b.a.b.zo(var1.h() + this.g, var3 + this.h), new com.aspose.cells.b.a.b.zo(var1.h() + this.g, var1.i() - var3 + this.h), new com.aspose.cells.b.a.b.zo(var1.h() - var3 + this.g, var1.i() + this.h), new com.aspose.cells.b.a.b.zo(var3 + this.g, var1.i() + this.h), new com.aspose.cells.b.a.b.zo(this.g, var1.i() - var3 + this.h), new com.aspose.cells.b.a.b.zo(this.g, var3 + this.h)};
         var2.a(var4[0], var4[1]);
         var2.a(var4[1], var4[2]);
         var2.a(var4[2], var4[3]);
         var2.a(var4[3], var4[4]);
         var2.a(var4[4], var4[5]);
         var2.a(var4[5], var4[6]);
         var2.a(var4[6], var4[7]);
         var2.a(var4[7], var4[0]);
         var2.i();
         return var2;
      }
   }
}
